<?php 
/**
 * @version		2.0.1 | $Id: form.php 93 2009-08-28 10:56:02Z mwi.nor $
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col100">
    <fieldset class="adminform">
        <legend><?php echo JText::_( 'MD_PENALTY_DETAILS' ); ?></legend>
        <table class="admintable">
        <tr>
            <td width="100" align="right" class="key">
                <label for="PenaltySeasonID">
                <?php echo JText::_( 'MD_PENALTY_SEASON' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->seasonselect ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PenaltyEventID">
                <?php echo JText::_( 'MD_PENALTY_EVENT' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->eventselect ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PenaltyTeamID">
                <?php echo JText::_( 'MD_PENALTY_TEAM' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->teamselect ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PenaltyPlayerID">
                <?php echo JText::_( 'MD_PENALTY_PLAYER' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->playerselect ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PenaltyPoints">
                <?php echo JText::_( 'MD_PENALTY_POINTS' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="PenaltyPoints" id="PenaltyPoints" size="32" value="<?php echo $this->penalty->PenaltyPoints;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PenaltyRemarks">
                <?php echo JText::_( 'MD_PENALTY_REMARKS' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="PenaltyRemarks" id="PenaltyRemarks" size="32" value="<?php echo $this->penalty->PenaltyRemarks;?>" />
            </td>
		</tr>
        </table>
    </fieldset>
</div>

<div class="clr"></div>

<input type="hidden" name="option" value="com_matchdart" />
<input type="hidden" name="PenaltyID" value="<?php echo $this->penalty->PenaltyID; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="penalties" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>